<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>开门大吉</title>
	<style type="text/css">
		.box{
			width: 450px;
			height: 300px;
			margin: 100px auto;
			border:1px solid #000;
			position: relative;
			perspective: 1000px;
		}

		.l,.r{
			position: absolute;
			height: 300px;
			width: 225px;
			border: 1px solid #000;
			box-sizing: border-box;
			background: url(images/bg.png);
			top:0;
			transition: all 2s;
		}
		.l{
			
			transform-origin: left;
		}
		.r{
			transform-origin: right;
			right: 0;
		}



		.radiol,.radior{
			position: absolute;
			width: 30px;
			height: 30px;
			border: 1px solid #000;
			border-radius: 15px;
			top:50%;
			right: 0;
			margin-top: -15px;
		}
		.radiol{
			margin-right: 10px;
		}

		.radior{
			margin-left: 10px;
		}
		.box:hover .l{
			transform: rotateY(-140deg);
		}

		.box:hover .r{
			transform: rotateY(140deg);
		}
		
	</style>
</head>
<body>
		<div class="box">
			<img src="images/3.jpg">
			<div class="l">
				<div class="radiol"></div>
			</div>
			<div class="r">
				<div class="radior"></div>
			</div>
		</div>
</body>
</html>